package com.jfreer.blog;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.logging.log4j.jcl.Log4jLog;

import java.lang.reflect.Field;

/**
 * Description：<br/>
 *
 * @author: landy
 * @date: 2016/07/24 21:17
 * note:
 */
public class App {
    public static void main(String[] args) throws NoSuchFieldException, IllegalAccessException {
        Log log = LogFactory.getLog(App.class);
        System.out.println(log.getClass().getName());
        log.info("test information!");
        Field field=Log4jLog.class.getDeclaredField("logger");
        field.setAccessible(true);
        Object o = field.get(log);
        System.out.println(o.getClass());
    }
}
